<?php
namespace controllers\home;
use controllers\HomeBase;

class index extends HomeBase{
	/**
	 * 首页
	 * @return string
	 * @throws \system\MyError
	 * @author Colin <amcolin@126.com>
	 * @date 2022-01-22 下午4:34
	 */
	public function index(){
		return $this->render('home/index/index');
	}

	/**
	 * 登录页面
	 * @return string
	 * @throws \system\MyError
	 * @author Colin <amcolin@126.com>
	 * @date 2022-01-26 上午10:37
	 */
	public function login(){
		return $this->render('home/index/login');
	}

	/**
	 * 注册页面
	 * @return string
	 * @throws \system\MyError
	 * @author Colin <amcolin@126.com>
	 * @date 2022-01-26 上午11:22
	 */
	public function register(){
		return $this->render('home/index/register');
	}
}